package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医院耗材管理系统对象 hc_ruku
 *
 * @author ruoyi
 * @date 2023-05-05
 */
public class HcRuku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 入库单号 */
    @Excel(name = "入库单号")
    private Long rid;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operate;

    /** 耗材名称 */
    @Excel(name = "耗材名称")
    private String hname;

    /** 耗材编号 */
    @Excel(name = "耗材编号")
    private String code;

    /** 入库数量 */
    @Excel(name = "入库数量")
    private Long rnum;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 批次编号 */
    @Excel(name = "批次编号")
    private String batch;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setRid(Long rid)
    {
        this.rid = rid;
    }

    public Long getRid()
    {
        return rid;
    }
    public void setAddtime(Date addtime)
    {
        this.addtime = addtime;
    }

    public Date getAddtime()
    {
        return addtime;
    }
    public void setOperate(String operate)
    {
        this.operate = operate;
    }

    public String getOperate()
    {
        return operate;
    }
    public void setHname(String hname)
    {
        this.hname = hname;
    }

    public String getHname()
    {
        return hname;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setRnum(Long rnum)
    {
        this.rnum = rnum;
    }

    public Long getRnum()
    {
        return rnum;
    }
    public void setSupplier(String supplier)
    {
        this.supplier = supplier;
    }

    public String getSupplier()
    {
        return supplier;
    }
    public void setBatch(String batch)
    {
        this.batch = batch;
    }

    public String getBatch()
    {
        return batch;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("rid", getRid())
                .append("addtime", getAddtime())
                .append("operate", getOperate())
                .append("hname", getHname())
                .append("code", getCode())
                .append("rnum", getRnum())
                .append("supplier", getSupplier())
                .append("batch", getBatch())
                .append("remark", getRemark())
                .toString();
    }
}
